package com.pointcircle.core.util;

import org.springframework.web.context.WebApplicationContext;

import com.pointcircle.core.ApplicationContextHolder;

public class WebUtils {
	
	public static String getContextPath() {
		 WebApplicationContext webApplicationContext = 
			(WebApplicationContext) ApplicationContextHolder.getApplicationContext();
		 return webApplicationContext.getServletContext().getContextPath();
	}
}
